package com.gitee.mazhenggg.mall.account.domain.repository;

import com.gitee.mazhenggg.mall.account.domain.entity.Account;
import com.gitee.mazhenggg.mall.account.domain.type.Money;
import com.gitee.mazhenggg.mall.account.domain.type.UserId;

public interface AccountRepository {
        Money getBalanceByUserId(UserId userId);
        void reduceAccountByUserId(UserId userId, Money amount);
}
